import {request} from '../request'
//登录接口
// const login = (data: object | any)=>request('/jazp-auth/oauth2/token', 'POST', data)
//信息中心内容列表
export const fetchNews = (data: object | any)=>request('/zgyp-work/api/v1/news/page', 'POST', data)
//信息中心圖片圖片中心
export const fetchPic = (data: object | any)=>request('/zgyp-work/api/v1/pic/page', 'POST', data)

 // 獲取圖片詳情
export const fetchPicDetail =(data: object | any)=>request('/zgyp-work/api/v1/pic/detail', 'GET', data)
 // 獲取内容詳情
export const fetchNewsDetail =(data: object | any)=>request('/zgyp-work/api/v1/news/detail', 'GET', data)